home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network CD 1
/
Network CD.iso
/
amospd
/
491-500
/
apd500
/
karl_roberts
/
interrupt-equalizers.amos
/
interrupt-equalizers.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1986-08-03
|
1KB
|
46 lines
'***************************************
'*
'* INNOVATIONS 1993
'*
'* Title : Interrupt equalizers
'*
'* Code : Icky (Karl Roberts)
'*
'* This uses the amal autotest system
'*
'* NOTE :- Load some music here, and type in track play, or music 1
'* now sit back and watch the program do the rest
'* Now your main routines can do some serious stuff, while
'* the equalizers just keep running in the background!
'*
'* load "df0:songname?" or track load "df0:songname?",5
'* Track Play
'* Music 1
'* whichever one you use. Note the AMOS music system responds
'* better to Music 1 so, try and use it if you can!
'*
_INTERRUPT_GRAPHIC_EQUALIZER
Procedure _INTERRUPT_GRAPHIC_EQUALIZER
Screen Open 0,320,256,2,Lowres
Curs Off : Flash Off : Hide On : Cls 0 : Fade 8,$4
Double Buffer : Autoback 0
Colour 1,$F : Ink 1
Bar 0,0 To 50,70
Get Bob 0,1,0,0 To 50,70
Cls 0
A$=A$+" AUtotest(L R1=Vu(R0); If R1=0 X Direct A)"
A$=A$+"A: L R2=R1; L X=R0*70+25; L Y=RA-R1; "
A$=A$+" Move 0,R2,RB; W;"
Amreg(0)=258 : Amreg(1)=20
'* increase amreg(1) for slower speed, decrease for faster speed
For N=0 To 3
Bob N,N*32,Amreg(0),1
Channel N To Bob N
Amal N,"Let R0="+Str$(N)+A$
Next N
Amal On
Repeat : Until Fire(0)
Edit
'* after breaking out of the program, go back to direct mode,
'* the equalizers still keep going.......
End Proc